package com.small.os.minio.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 上传状态枚举
 * @author wangguochao
 */
@AllArgsConstructor
@Getter
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum AqUploadStartEnum {
    //
    UPLOAD_PART(0, "部分上传"),
    UPLOAD_SUCCESS(1, "上传完毕"),
    ;
    @EnumValue
    private final int code;
    private final String desc;
}
